<!DOCTYPE html>
<html lang="zh-CN">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    .box {
      width: 200px;
      height: 200px;
      background-image: radial-gradient(ellipse, red, blue);
    }
  </style>
</head>

<body>
  <!-- background-image: radial-gradient(颜色1 覆盖区域大小, 颜色2 覆盖区域大小, … ); -->
  <div class="box"></div>
</body>

</html>